body {
    margin: 0;
    padding: 0;
}

/* 设置选项卡按钮样式 */
#tabs {
    background-color: #f1f1f1;
    height: 30px;
    overflow: hidden;
    position: relative;
}

/* 设置选项卡按钮的样式 */
#tabs button {
    background-color: inherit;
    width: 160px;
    height: inherit;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11pt;
    text-align: left;
    position: relative;
    /* white-space: pre; */
    /* text-wrap: nowrap; */
    overflow: hidden;
    text-overflow: clip;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.5s;
}

#tabs button span {
    width: 15px;
    height: 15px;
    font-size: 15pt;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#tabs button span:hover {
    background-color: rgba(222, 44, 12, 0.521);
}

/* 设置选项卡关闭按钮的样式 */
#tabs .tabContainer .closeBtn {
    background-color: #a79797;
    width: 20px;
    height: 20px;
    float: bottom;
    border: none;
    outline: none;
    cursor: pointer;
}

#tabs button:hover {
    background-color: #8d8a8a;
    /* animation: ripple 0.3s linear forwards;
    animation-iteration-count: 1; */
}


/* 涟漪效果 */
@keyframes ripple {
    0% {
        background-color: rgba(255, 255, 255, 0.4);
    }

    100% {
        background-color: rgba(197, 13, 13, 0.89);
    }
}